package com.agile.leetcode.designmodel.observer;

/**
 * @Author KD
 * @Date 2021/1/11 15:44
 */
public class ConcreateObserver1 extends Observer {
    String name;
    public ConcreateObserver1(String name){
        this.name=name;
    }
    @Override
    void update(String message) {
        System.out.println(name+"===="+message);
    }
}
